package com.fjb.pojo.log;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 手机短信验证码
 * </p>
 *
 * @author hemiao
 * @since 2020-03-01
 */
public class SysSmsCodeLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    /**
     * 配置开关  线上    1000 ；测试    2000
     */
    private String configSwitch;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 验证码
     */
    private String smsCode;

    private LocalDateTime createTime;

    private Integer createUserId;
    
    private LocalDateTime updateTime;

    private Integer updateUserId;
    
    /**
     * 1、正常   2、删除
     */
    private Integer smsStatus;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public String getConfigSwitch() {
        return configSwitch;
    }

    public void setConfigSwitch(String configSwitch) {
        this.configSwitch = configSwitch;
    }
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getSmsCode() {
        return smsCode;
    }

    public void setSmsCode(String smsCode) {
        this.smsCode = smsCode;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

	public LocalDateTime getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(LocalDateTime updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getUpdateUserId() {
		return updateUserId;
	}

	public void setUpdateUserId(Integer updateUserId) {
		this.updateUserId = updateUserId;
	}

	public Integer getSmsStatus() {
		return smsStatus;
	}

	public void setSmsStatus(Integer smsStatus) {
		this.smsStatus = smsStatus;
	}

	@Override
	public String toString() {
		return "SysSmsCodeLog [id=" + id + ", userId=" + userId + ", configSwitch=" + configSwitch + ", phone=" + phone
				+ ", smsCode=" + smsCode + ", createTime=" + createTime + ", createUserId=" + createUserId
				+ ", updateTime=" + updateTime + ", updateUserId=" + updateUserId + ", smsStatus=" + smsStatus + "]";
	}
    
}
